package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-财务模块-银行管理对象 erp_king_bank_info
 * @author wutao
 * @date 2024-06-22
 */
@TableName ("erp_king_bank_account_info")
@ApiModel (value = "erp_king_bank_info对象", description = "金蝶-财务模块-银行管理")
@Data
public class KingBankAccountEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 所属公司
     */
    @ApiModelProperty ("所属公司")
    @TableField ("dept_id")
    @Excel (name = "所属公司")
    private String deptId;

    /**
     * 账号类型
     */
    @ApiModelProperty ("账号类型；0：银行账户；1：微信账户；2：支付宝账号")
    @TableField ("account_type")
    @Excel (name = "账号类型")
    private String accountType;

    /**
     * 银行账号
     */
    @ApiModelProperty ("银行账号")
    @TableField ("account")
    @Excel (name = "银行账号")
    private String account;

    /**
     * 账户名称
     */
    @ApiModelProperty ("账户名称")
    @TableField ("title")
    @Excel (name = "账户名称")
    private String title;


    /**
     * 是否发送金蝶；1：是；2：否
     */
    @ApiModelProperty ("是否发送金蝶；1：是；2：否")
    @TableField ("is_send")
    @Excel (name = "是否发送金蝶；1：是；2：否")
    private Integer isSend;

    /**
     * 资金上划；0：是；1：否
     */
    @ApiModelProperty ("资金上划；1：是；2：否")
    @TableField ("fis_fund_up")
    @Excel (name = "资金上划")
    private Integer fisFundUp;

    /**
     * 上划方式
     */
    @ApiModelProperty ("上划方式；1：全额上划；2：定额上划")
    @TableField ("up_type")
    @Excel (name = "上划方式")
    private String upType;

    /**
     * 上划金额
     */
    @ApiModelProperty ("上划金额")
    @TableField ("up_amount")
    @Excel (name = "上划金额")
    private String upAmount;

    /**
     * 留底金额
     */
    @ApiModelProperty ("留底金额")
    @TableField ("base_amount")
    @Excel (name = "留底金额")
    private String baseAmount;

    /**
     * 最小上划金额
     */
    @ApiModelProperty ("最小上划金额")
    @TableField ("min_up_amount")
    @Excel (name = "最小上划金额")
    private String minUpAmount;

    @ApiModelProperty ("账户期初余额")
    @TableField ("opening_balance")
    @Excel (name = "账户期初余额")
    private String openingBalance;

    /**
     * 账户收支属性
     */
    @ApiModelProperty ("账户收支属性；0：收支；1：收入；2：支出")
    @TableField ("in_or_out")
    @Excel (name = "账户收支属性")
    private String inOrOut;

    @ApiModelProperty ("开户银行，dialog选择银行")
    @TableField ("bank_code")
    private String bankCode;


    @ApiModelProperty ("币别编码")
    @TableField ("currency_code")
    private String currencyCode;


    @ApiModelProperty ("备注")
    @TableField ("remarks")
    private String remarks;

    @ApiModelProperty ("银行联行号")
    @TableField ("Interbank_number")
    private String interbankNumber;

    @ApiModelProperty ("开户行地址")
    @TableField ("address")
    private String address;

    @ApiModelProperty ("账户地区码")
    @TableField ("region_code")
    private String regionCode;

    @ApiModelProperty ("账户地区名")
    @TableField ("region_name")
    private String regionName;

    @ApiModelProperty ("国家")
    @TableField ("country_id")
    private String countryId;

    @ApiModelProperty ("省份Id")
    @TableField ("province_id")
    private String provinceId;

    @ApiModelProperty ("城市Id")
    @TableField ("city_id")
    private String cityId;

    @ApiModelProperty ("区县Id")
    @TableField ("county_id")
    private String countyId;

    @ApiModelProperty ("透支策略；1：禁止透支；2：额度内允许透支")
    @TableField ("overdraft_strategy")
    private Integer overdraftStrategy;

    @ApiModelProperty ("透支额度")
    @TableField ("line_credit")
    private String lineCredit;


    /**
     * 是否支持网银
     */
    @ApiModelProperty ("是否支持网银")
    @TableField ("is_super_bank")
    @Excel (name = "是否支持网银")
    private Integer isSuperBank;

    /**
     * 是否默认账户
     */
    @ApiModelProperty ("是否默认账户")
    @TableField ("is_default_bank")
    @Excel (name = "是否默认账户")
    private Integer isDefaultBank;

    /**
     * 是否启动智能对账单
     */
    @ApiModelProperty ("是否启动智能对账单")
    @TableField ("is_auto_blend")
    @Excel (name = "是否启动智能对账单")
    private Integer isAutoBlend;

    /**
     * 支持自动下载电子回单
     */
    @ApiModelProperty ("支持自动下载电子回单")
    @TableField ("is_super_auto_der")
    @Excel (name = "支持自动下载电子回单")
    private Integer isSuperAutoDer;

    /**
     * 支持自动下载当天电子回单
     */
    @ApiModelProperty ("支持自动下载当天电子回单")
    @TableField ("is_super_auto_dert")
    @Excel (name = "支持自动下载当天电子回单")
    private Integer isSuperAutoDert;

    /**
     * 支持电子回单
     */
    @ApiModelProperty ("支持电子回单")
    @TableField ("is_super_dzhd")
    @Excel (name = "支持电子回单")
    private Integer isSuperDzhd;

    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新人")
    @TableField ("update_by")
    private String updateBy;

    @ApiModelProperty ("更新时间")
    @TableField ("update_time")
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty ("是否可用")
    @TableField ("is_disabled")
    @Excel (name = "是否可用")
    private Integer isDisabled;

    /**
     * 是否可用
     */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

    @ApiModelProperty ("币别名称")
    @TableField (exist = false)
    private String currencyName;


}
